Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fips140-3: don't cache iv in audit crypto #30785

Closed
wants to merge 1 commit into from

Conversation

jimmy1wu
Copy link
Contributor

@jimmy1wu jimmy1wu commented Feb 13, 2025

we are currently cacheing the initialization vector in audit crypto for aes which is leading to issues because the iv should be derived per the encryption key and we have two encryption keys in audit (1 for signing and 1 for encrypting). thus, whichever operation is done first determines the iv that is used for both operations. this is incorrect as we should be using an iv that corresponds to the encryption key being used, and not the same iv for both keys.

@jimmy1wu
Copy link
Contributor Author

jimmy1wu commented Feb 13, 2025

!build (view Open Liberty Personal Build - ❌ completed with errors/failures.)

Note: Target locations of links might be accessible only to IBM employees.

@LibbyBot
Copy link

Code analysis and actions

DO NOT DELETE THIS COMMENT.
  • 1 product code files were changed.
  • Please describe in a separate comment how you tested your changes.

@jimmy1wu
Copy link
Contributor Author

@jimmy1wu jimmy1wu closed this Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants